
package org.bridgen.lang.semantics.ast;
import java.util.*;



/* Match patterns */


public abstract class MatchPattern extends ASTNode<ASTNode> implements Cloneable {
    public void flushCache() {
        super.flushCache();
    }
     @SuppressWarnings({"unchecked", "cast"})  public MatchPattern clone() throws CloneNotSupportedException {
        MatchPattern node = (MatchPattern)super.clone();
        node.in$Circle(false);
        node.is$Final(false);
    return node;
    }
    // Declared in bridgit.ast at line 3
    // Declared in bridgit.ast line 55

    public MatchPattern() {
        super();


    }

    // Declared in bridgit.ast at line 9


  protected int numChildren() {
    return 0;
  }

    // Declared in bridgit.ast at line 12

  public boolean mayHaveRewrite() { return false; }

    // Declared in PatternAnalysis.jrag at line 8
 @SuppressWarnings({"unchecked", "cast"})     public boolean startsWithValue() {
        boolean startsWithValue_value = startsWithValue_compute();
        return startsWithValue_value;
    }

    private boolean startsWithValue_compute() {  return false;  }

    // Declared in PatternAnalysis.jrag at line 38
 @SuppressWarnings({"unchecked", "cast"})     public boolean isAltPattern() {
        boolean isAltPattern_value = isAltPattern_compute();
        return isAltPattern_value;
    }

    private boolean isAltPattern_compute() {  return false;  }

    // Declared in TypeCodeGen.jrag at line 275
 @SuppressWarnings({"unchecked", "cast"})     public String value() {
        String value_value = value_compute();
        return value_value;
    }

    private String value_compute() {  return "";  }

    // Declared in TypeCodeGen.jrag at line 338
 @SuppressWarnings({"unchecked", "cast"})     public String regExp() {
        String regExp_value = regExp_compute();
        return regExp_value;
    }

    private String regExp_compute() {  return "";  }

public ASTNode rewriteTo() {
    return super.rewriteTo();
}

}
